Configure Broadcast, Unknown Unicast, and Multicast Bandwidth Limiting

Configure broadcast, unknown unicast, and multicast bandwidth limiting to limit the amount of ingress traffic on a port. The switch drops traffic that violates the bandwidth limit.

About this task

Procedure

  1. Enter Interface Configuration mode:

    enable

    configure terminal

    interface GigabitEthernet {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]} or interface vlan <1–4059>

    Note

    Note

    If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

  2. Configure the bandwidth limiter to limit the amount of ingress traffic on a port:
    rate-limit [port {sub-port]][,...][slot/all][all]}] {broadcast | multicast | unknown-unicast <1-65535>}
  3. Verify the configuration:

    show interfaces gigabitethernet rate-limit [<1-4059> | {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}]

Example

View the bandwidth limiter configuration:
Switch:1>#show interfaces gigabitethernet rate-limit all

==========================================================
                              Port Rate(PPS) Limit
==========================================================
PORT     TYPE         RATE       ENABLED/DISABLED
----------------------------------------------------------
1/1      MULTICAST    0                DISABLED
1/1      BROADCAST    30               ENABLED
1/1      UNKNOWN-UC   0                DISABLED
1/2      MULTICAST    0                DISABLED
1/2      BROADCAST    33               ENABLED
1/2      UNKNOWN-UC   0                DISABLED
1/3      MULTICAST    0                DISABLED
1/3      BROADCAST    60               ENABLED
1/3      UNKNOWN-UC   0                DISABLED

Variable Definitions

The following table defines parameters for the rate-limit command.

-

Variable

Value

<1-65535>

Specifies the bandwidth limit for broadcast, unknown unicast, and multicast traffic, in packets per second (pps).

port {slot/port[/sub-port][-slot/port[/sub-port]][,...][slot/all][all]}

Identifies the slot and port in one of the following formats:
  • a single slot and port (slot/port)

  • a range of slots and ports (slot/port-slot/port)

  • a series of slots and ports (slot/port,slot/port,slot/port)

  • all ports on the same slot (slot/all)

  • all ports on the switch (all)

If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.